package com.qms.repast.entity.resbean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @author 泅渡者
 * @date 2018/10/15 0015
 * @describe: 选菜订单表
 */
@Entity
public class CuisineOrderBean {
	/**
	 * 自增Id
	 */
	@Id(autoincrement = true)
	private Long id;

	/**
	 * 用户Id（防止切换账号后导致订单存在的问题）
	 */
	private String userId;
	/**
	 * 店铺Id
	 */
	private String shopId;
	/**
	 * 菜品Id
	 */
	private String itemId;
	/**
	 * 菜品数量
	 */
	private int itemNum;
	/**
	 * 菜品类型
	 */
	private String itemType;
	/**
	 * 预留字段
	 */
	private String optValue;
	/**
	 * 预留字段
	 */
	private String optValueOther;
	@Generated(hash = 1135287152)
	public CuisineOrderBean(Long id, String userId, String shopId, String itemId,
									int itemNum, String itemType, String optValue, String optValueOther) {
					this.id = id;
					this.userId = userId;
					this.shopId = shopId;
					this.itemId = itemId;
					this.itemNum = itemNum;
					this.itemType = itemType;
					this.optValue = optValue;
					this.optValueOther = optValueOther;
	}
	@Generated(hash = 1424599468)
	public CuisineOrderBean() {
	}
	public Long getId() {
					return this.id;
	}
	public void setId(Long id) {
					this.id = id;
	}
	public String getUserId() {
					return this.userId;
	}
	public void setUserId(String userId) {
					this.userId = userId;
	}
	public String getShopId() {
					return this.shopId;
	}
	public void setShopId(String shopId) {
					this.shopId = shopId;
	}
	public String getItemId() {
					return this.itemId;
	}
	public void setItemId(String itemId) {
					this.itemId = itemId;
	}
	public int getItemNum() {
					return this.itemNum;
	}
	public void setItemNum(int itemNum) {
					this.itemNum = itemNum;
	}
	public String getItemType() {
					return this.itemType;
	}
	public void setItemType(String itemType) {
					this.itemType = itemType;
	}
	public String getOptValue() {
					return this.optValue;
	}
	public void setOptValue(String optValue) {
					this.optValue = optValue;
	}
	public String getOptValueOther() {
					return this.optValueOther;
	}
	public void setOptValueOther(String optValueOther) {
					this.optValueOther = optValueOther;
	}

}
